package com.design.softwaredesign.mapper;

import com.design.softwaredesign.entity.GoodCategory;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BackStatisticsMapper {
    public Integer countAllUser();

    public Integer countGoodByState(String goodState);

    public Integer countUserSex(String userSex);

    public List<GoodCategory> getGoodCategory();

    public Integer countGoodNumByCategoryIdAndState(int goodCategoryId, String goodState);

    public Integer countAllDonation();
}
